package com.hiv.mapper.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.util.Date;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;

import java.io.Serializable;
import lombok.NoArgsConstructor;

/**
 * 采样盒子对象 sampling_box
 *
 * @author zhanghong
 * @date 2022-09-20
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@ApiModel("采样盒子")
public class SamplingBox implements Serializable {
    private Long id;
    @ApiModelProperty("盒内样品数据量")
    private Integer samplingNum;
    @ApiModelProperty("批次id")
    private Long batchId;
    @ApiModelProperty("盒子编号")
    private String boxCode;
    @ApiModelProperty("快递编号")
    private String express;
    @ApiModelProperty("快递状态 1待寄出 2配送中 3已收件")
    private Integer expressStatus;
    @ApiModelProperty("检验所id")
    private Long inspectionId;
    @ApiModelProperty("医院id")
    private Long hospitalId;
    @ApiModelProperty("采样员id")
    private Long samplerId;
    @ApiModelProperty("删除状态 0未删除 1已删除")
    private Integer deleted;
    @ApiModelProperty("状态 1正常 2损坏 4温控异常")
    private Integer status;
    @JsonFormat(pattern = "yyyy/MM/dd HH:mm:ss")
    @ApiModelProperty("更新时间")
    private Date updateTime;
    @JsonFormat(pattern = "yyyy/MM/dd HH:mm:ss")
    @ApiModelProperty("创建时间")
    private Date createTime;

    @ApiModelProperty("+批次号")
    private String batchCode;
    @JsonFormat(pattern = "yyyy/MM/dd HH:mm:ss")
    @ApiModelProperty("+寄样时间")
    private Date sendTime;
}
